package com.wolfeyes.system.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
* @see Talk is cheap, Show me the code. -- Linus Torvalds
* @title 参演角色信息-实体类
* @author yanyljava
* @email yanyljava@qq.com
* @create 2022-01-13 21:25
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SysActorRole implements Serializable {

	/**
	 * @description 串行版本标识
	 */
	private static final long serialVersionUID = 6759803180714328509L;

	// 参演角色id
	private Long actorRoleId;

	// 参演角色名称
    @NotBlank(message = "演员角色名称不能为空")
    private String actorRoleName;

    //多表连接
    private List<SysActor> actorList;
}
